package com.hbzhit.modules.job.task;

import com.hbzhit.modules.sys.service.ProReportService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component("PushTheReportTask")
@Slf4j
public class PushTheReportTask implements ITask{
    @Resource
    private ProReportService reportService;

    @Override
    public void run(String params) {
        log.debug("PushTheReportTask定时任务正在执行，参数为：{}", params);
        reportService.pushTheReport();
    }
}
